package com.jugheadzhou.auth.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author jugeadhzou
 */
@Data
public class LoginDto {

    @NotEmpty(message = "账号不能为空")
    private String username;

    @NotEmpty(message = "密码不能为空")
    private String password;

}
